/**
 * @Title: CustomerService.java 
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">Psammead</a>
 * @date 2011-7-16 下午03:43:04 
 * @version 1.0
 * Copyright 2011 by Psammead
 */
package com.psammead.dms.project.service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.psammead.dms.common.core.bo.Page;
import com.psammead.dms.project.entity.Customer;

/**
 * @ClassName: CustomerService
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">psammead</a>
 * @version 1.0
 * @date 2011-7-16
 */
public interface CustomerService {

	public void addCustomer(Customer customer);
	
	public void updateCustomer(Customer customer);
	
	public Customer getCustomer(long id);
	
	public void deleteCustomer(long id);
	
	public List<Customer> queryCustomer(Map<String,Object> paramMap,
			LinkedHashMap<String, String> sortMap);

	public Page<Customer> queryCustomer(Map<String,Object> paramMap,
			LinkedHashMap<String, String> sortMap, int pageNo, int pageSize );
}
